<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/orderPage.css" />
    <link rel="stylesheet" href="./css/goodsList.css" />
  </head>
  <body>
    <div id="app">
      <div class="wrapper">
        <header>
          <ul>
            <li>Lorem, ipsum.</li>
            <li>Lorem, ipsum.</li>
            <li><a href="./userFormPage.html" style="color: white;">个人信息</a></li>
          </ul>
        </header>

        <div class="main">
          <div class="hd-title">
            <h1>我的订单</h1>
          </div>

          
          <goods-list-component
            :orderitems="orderitems"
          ></goods-list-component>
        </div>
      </div>
    </div>
    <script src="/js/vue.js"></script>
    <script src="/js/goodsListBox.js"></script>
    <script>
      new Vue({
        el: "#app",
        data: {
          orderitems: [
            {
              id: 1,
              title: "商品1",
              image:
                "https://myhkw.cn/openapi/img/acg/0072Vf1pgy1fodqiemqvoj31hc0xcaxb.jpg",
              status: "0", // 未发货 0、已发货 1、已完成 2
              description: "商品1的描述信息",
            },
            {
              id: 2,
              title: "商品2",
              image:
                "https://myhkw.cn/openapi/img/acg/0072Vf1pgy1fodqiemqvoj31hc0xcaxb.jpg",
              status: "1",
              description: "商品2的描述信息",
            },
            {
              id: 3,
              title: "商品3",
              image:
                "https://myhkw.cn/openapi/img/acg/0072Vf1pgy1fodqiemqvoj31hc0xcaxb.jpg",
              status: "2",
              description: "商品3的描述信息",
            },
            {
              id: 4,
              title: "商品4",
              image:
                "https://myhkw.cn/openapi/img/acg/0072Vf1pgy1fodqiemqvoj31hc0xcaxb.jpg",
              status: "0",
              description: "商品4的描述信息",
            },
          ],
        },
      });
    </script>
  </body>
</html>
